import { basicIp, newHttpService } from "../../../../../api/http";
import { ITlplTLaneLedInParamUpdate, ITlplTLaneLedOutParamUpdate } from "./type";

// 查询LED参数设置 - 入口
export const getTlplTLaneQueryInLedParam = (data: {laneId: string}) => {
    const url = basicIp + '/tlpl/t-lane/queryInLedParam';
    return newHttpService.getData(url, data);
}
// 设置LED参数设置 - 入口
export const postTlplTLaneLedInParamUpdate= (data: ITlplTLaneLedInParamUpdate) => {
    const url = basicIp + '/tlpl/t-lane/ledInParamUpdate';
    return newHttpService.postData(url, data);
}
// 查询LED参数设置 - 出口
export const getTlplTLaneQueryOutLedParam = (data: {laneId: string}) => {
    const url = basicIp + '/tlpl/t-lane/queryOutLedParam';
    return newHttpService.getData(url, data);
}
// 设置LED参数设置 - 出口
export const postTlplTLaneLedOutParamUpdate= (data: ITlplTLaneLedOutParamUpdate) => {
    const url = basicIp + '/tlpl/t-lane/ledOutParamUpdate';
    return newHttpService.postData(url, data);
}
